package com.jmp.api.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author cjr
 */
@Data
@ApiModel
public class AdminSaveRequest {
    @ApiModelProperty(value = "管理员id")
    private Integer adminId;
    @ApiModelProperty(value = "登录名", required = true)
    @NotNull
    private String loginName;
    @ApiModelProperty(value = "密码")
    private String passWord;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "性别")
    private Integer sex;
    @ApiModelProperty(value = "职位")
    private String position;
}
